package com.campus.dao;

import com.campus.model.Activity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author HLQ
 * @date 2024/11/16 16:30
 */
public interface ActivityDao {

    public int addActivity(Activity activity);

    public int deleteActivityById(int id);

    public int updateStatusById(int status,int id);

    public  int updateActivityById(Activity activity);

    public List<Activity> queryActivityById(int id);

    public List<Activity> queryActivityByStatus(int status);
    public List<Activity> fuzzyMatchingActivityByName(String name);
}
